<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type='text/javascript' src='http://localhost/me/11.6/Easycms/hdphp/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>
<link href='http://localhost/me/11.6/Easycms/hdphp/hdphp/Extend/Org/hdjs/hdui/css/hdui.css' rel='stylesheet' media='screen'>
<script src='http://localhost/me/11.6/Easycms/hdphp/hdphp/Extend/Org/hdjs/hdui/js/hdui.js'></script>
<link href='http://localhost/me/11.6/Easycms/hdphp/hdphp/Extend/Org/hdjs/hdvalidate/css/hdvalidate.css' rel='stylesheet' media='screen'>
<script src='http://localhost/me/11.6/Easycms/hdphp/hdphp/Extend/Org/hdjs/hdvalidate/js/hdvalidate.js'></script>
<script src='http://localhost/me/11.6/Easycms/hdphp/hdphp/Extend/Org/cal/lhgcalendar.min.js'></script>
<script src='http://localhost/me/11.6/Easycms/hdphp/hdphp/Extend/Org/hdjs/hdslide/js/hdslide.js'></script>
<script type='text/javascript'>
HOST = 'http://localhost';
ROOT = 'http://localhost/me/11.6/Easycms';
WEB = 'http://localhost/me/11.6/Easycms/index.php';
URL = 'http://localhost/me/11.6/Easycms/index.php?m=Install&c=Index&a=setDb';
APP = 'http://localhost/me/11.6/Easycms/CMS';
COMMON = 'http://localhost/me/11.6/Easycms/CMS/Common';
HDPHP = 'http://localhost/me/11.6/Easycms/hdphp/hdphp';
HDPHPDATA = 'http://localhost/me/11.6/Easycms/hdphp/hdphp/Data';
HDPHPEXTEND = 'http://localhost/me/11.6/Easycms/hdphp/hdphp/Extend';
MODULE = 'http://localhost/me/11.6/Easycms/index.php?m=Install';
CONTROLLER = 'http://localhost/me/11.6/Easycms/index.php?m=Install&c=Index';
ACTION = 'http://localhost/me/11.6/Easycms/index.php?m=Install&c=Index&a=setDb';
STATIC = 'http://localhost/me/11.6/Easycms/Static';
HDPHPTPL = 'http://localhost/me/11.6/Easycms/hdphp/hdphp/Lib/Tpl';
VIEW = 'http://localhost/me/11.6/Easycms/CMS/Install/View';
PUBLIC = 'http://localhost/me/11.6/Easycms/CMS/Install/View/Public';
CONTROLLERVIEW = 'http://localhost/me/11.6/Easycms/CMS/Install/View/Index';
HISTORY = 'http://localhost/me/11.6/Easycms/index.php?m=Install&c=Index&a=install';
</script>
	<link type="text/css" rel="stylesheet" href="http://localhost/me/11.6/Easycms/CMS/Install/View/Index/Css/css.css"/>
</head>
<body>
	<div class="wrap">
		<div class="box">
			<h1>服务器信息</h1>
			<form action="<?php echo U('insertSql');?>" method="post">
				<div>
					<div class="title-header">数据库配置</div>
					<table class="table2 hd-form">
						<tr>
							<th>主机</th>
							<td>
								<input type="text" name="DB_HOST" value="localhost">
							</td>
						</tr>
						<tr>
							<th>帐号</th>
							<td>
								<input type="text" name="DB_USER" value="root">
							</td>
						</tr>
						<tr>
							<th>密码</th>
							<td>
								<input type="password" name="DB_PASSWORD" value="">
							</td>							
						</tr>
						<tr>
							<th>数据库</th>
							<td>
								<input type="text" name="DB_DATABASE">
							</td>
						</tr>
					</table>
						<div class="title-header">管理员帐号</div>
						<table class="table2 hd-form">
							<tr>
								<th>管理员</th>
								<td>
									<input type="text" name="username" value="admin">
								</td>
							</tr>
							<tr>
								<th>密码</th>
								<td>
									<input type="text" name="password" value="">
								</td>
							</tr>						
					</table>
				</div>
				<a href="<?php echo U('install');?>" class="hd-cancel">上一步</a>
				<input type="submit" value="下一步" class='hd-success'>
			</form>
		</div>
	</div>
</body>
</html>